(0.3ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) 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.3ms) 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.3ms) 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.3ms) 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.3ms) 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.3ms) 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.3ms) 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.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) 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.3ms) 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.3ms) 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.3ms) 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.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) 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.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.3ms) 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.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) 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.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) 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.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) select sqlite_version(*)  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20120214103734)  (0.0ms) begin transaction  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120214103734')  (1.3ms) commit transaction Migrating to CreateAdmins (20120214103741)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120214103741')  (1.6ms) commit transaction Migrating to CreateFoods (20120214105411)  (0.0ms) begin transaction  (0.6ms) CREATE TABLE "foods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120214105411')  (1.3ms) commit transaction Migrating to CreateDrinks (20120214105421)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "drinks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120214105421')  (1.1ms) commit transaction Migrating to MarkableMigration (20120214114957)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "marks" ("marker_id" integer, "marker_type" varchar(255), "markable_id" integer, "markable_type" varchar(255), "mark" varchar(128), "created_at" datetime)   (0.0ms) PRAGMA index_list("marks")  (0.2ms) CREATE INDEX "index_marks_on_markable_id_and_markable_type_and_mark" ON "marks" ("markable_id", "markable_type", "mark")  (0.0ms) PRAGMA index_list("marks")  (0.0ms) PRAGMA index_info('index_marks_on_markable_id_and_markable_type_and_mark')  (0.2ms) CREATE INDEX "index_marks_on_marker_id_and_marker_type_and_mark" ON "marks" ("marker_id", "marker_type", "mark")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120214114957')  (1.5ms) commit transaction  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("admins")  (0.0ms) PRAGMA index_list("drinks")  (0.0ms) PRAGMA index_list("foods")  (0.0ms) PRAGMA index_list("marks")  (0.0ms) PRAGMA index_info('index_marks_on_marker_id_and_marker_type_and_mark')  (0.0ms) PRAGMA index_info('index_marks_on_markable_id_and_markable_type_and_mark')  (0.0ms) PRAGMA index_list("users")  (0.3ms) 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) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 09:59:29 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 09:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 09:59:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 09:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (644.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) 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) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 10:03:38 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 10:03:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 10:03:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 10:03:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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) SAVEPOINT active_record_1 SQL (30.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:29:41 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:29:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:29:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:29:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.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) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:30:17 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:30:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:30:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:30:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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.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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:30:37 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:30:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:30:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:30:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.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.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) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:31:10 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:31:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:31:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:31:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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.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.1ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:31:30 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:31:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:31:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:31:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.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.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) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:31:51 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:31:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:31:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:31:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.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.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.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:32:06 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:32:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:32:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:32:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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  (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) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:32:20 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:32:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:32:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:32:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.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.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.1ms) SAVEPOINT active_record_1 SQL (8.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:33:30 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:33:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:33:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:33:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.8ms) 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.4ms) 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) SAVEPOINT active_record_1 SQL (7.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:36:14 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:36:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:36:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:36:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (24.7ms) 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.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.1ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:37:10 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:37:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:37:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****  (1.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.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) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:37:23 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:37:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:37:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:37:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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.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.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:37:30 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:37:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:37:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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.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) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:40:55 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:40:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:40:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:40:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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.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.1ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:41:14 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:41:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:41:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:41:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.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.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) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:41:45 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:41:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:41:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:41:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.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.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.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:44:49 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 15 Feb 2012 13:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:44:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:44:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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.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) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:45:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:45:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:45:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:45:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) 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.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.1ms) SAVEPOINT active_record_1 SQL (7.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:45:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:45:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:45:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 2]] Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (38.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:45:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.9ms) 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.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) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:46:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:46:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:46:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:46:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 2]] Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:46:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:46:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:46:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:46:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:46:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 2 AND "marks"."markable_type" = 'Admin' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'Drink' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:46:19 UTC +00:00], ["mark", :favorite], ["markable_id", 2], ["markable_type", "Admin"], ["marker_id", 1], ["marker_type", "Drink"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.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) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:47:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:47:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:47:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:47:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 2]] Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:47:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:47:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:47:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:47:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:47:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 2 AND "marks"."markable_type" = 'Admin' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'Drink' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:47:00 UTC +00:00], ["mark", :favorite], ["markable_id", 2], ["markable_type", "Admin"], ["marker_id", 1], ["marker_type", "Drink"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.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) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:48:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:48:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 2]] Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (36.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:48:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:48:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 2 AND "marks"."markable_type" = 'Admin' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'Drink' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:00 UTC +00:00], ["mark", :favorite], ["markable_id", 2], ["markable_type", "Admin"], ["marker_id", 1], ["marker_type", "Drink"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.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) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 2]] Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:48:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 2 AND "marks"."markable_type" = 'Admin' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'Drink' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:22 UTC +00:00], ["mark", :favorite], ["markable_id", 2], ["markable_type", "Admin"], ["marker_id", 1], ["marker_type", "Drink"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.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) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:48:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:48:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 2]] Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:56 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:48:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:48:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 2 AND "marks"."markable_type" = 'Admin' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'Drink' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:48:56 UTC +00:00], ["mark", :favorite], ["markable_id", 2], ["markable_type", "Admin"], ["marker_id", 1], ["marker_type", "Drink"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.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) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:50:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:50:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:50:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:50:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 2]] Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:50:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:50:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:50:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:50:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:50:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 2 AND "marks"."markable_type" = 'Admin' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'Drink' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:50:37 UTC +00:00], ["mark", :favorite], ["markable_id", 2], ["markable_type", "Admin"], ["marker_id", 1], ["marker_type", "Drink"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.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 SQL (7.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:51:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:51:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:51:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:51:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 2]] Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:51:34 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:51:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:51:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:51:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:51:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 2 AND "marks"."markable_type" = 'Admin' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'Drink' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:51:34 UTC +00:00], ["mark", :favorite], ["markable_id", 2], ["markable_type", "Admin"], ["marker_id", 1], ["marker_type", "Drink"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.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 SQL (7.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:52:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:52:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 2]] Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:52:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:52:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.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) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:52:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:52:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 2]] Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 13:52:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 13:52:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 2 AND "marks"."markable_type" = 'Admin' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'Drink' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 13:52:16 UTC +00:00], ["mark", :favorite], ["markable_id", 2], ["markable_type", "Admin"], ["marker_id", 1], ["marker_type", "Drink"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.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 SQL (55.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:08:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:08:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:08:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:08:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 2]] Mark Exists (0.4ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:08:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:08:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:08:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:08:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:08:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:08:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.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.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) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:23:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:23:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:23:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:23:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:23:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (12.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:23:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:23:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:23:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:23:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:23:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 SQL (49.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00]]  (1.1ms) commit 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) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:26:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.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) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:29:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:29:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:29:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:29:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:29:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:30:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:31:54 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:32:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:34:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (9.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:35:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (9.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:36:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (37.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.2ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (12.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:37:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (10.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (31.9ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (72.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:42:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:42:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.8ms) rollback transaction  (0.1ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:44:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:45:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:45:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:46:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (2.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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:47:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:48:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:39 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:49:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:49:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:51:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:51:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:52:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) rollback transaction  (0.0ms) 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.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (3.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (4.2ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 15 Feb 2012 16:53:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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) SAVEPOINT active_record_1 SQL (58.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.3ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:51:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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 (32.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:53:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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) SAVEPOINT active_record_1 SQL (9.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (51.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:54:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (15.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.8ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:57:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.8ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 03:58:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 04:00:56 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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) SAVEPOINT active_record_1 SQL (33.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:43:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:43:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:43:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (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.1ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:47:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:48:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:49:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:50:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.1ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (16.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:56:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (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.1ms) 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 (7.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (17.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (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.1ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (16.8ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 05:57:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:07:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (15.8ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (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.1ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:13:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:13:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:14:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:15:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:16:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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) SAVEPOINT active_record_1 SQL (8.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:23:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:23:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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) SAVEPOINT active_record_1 SQL (9.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (23.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (32.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (4.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 06:58:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 06:58:43 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) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:13:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:14: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:14: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:14: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:14: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:14: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:14: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:14:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:35 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:15:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 (34.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:16:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.1ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (13.7ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:18:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (19.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:20:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:20:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:51 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:20:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:51 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:20:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:20:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:20:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 07:21:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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) SAVEPOINT active_record_1 SQL (59.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:41:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.3ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.2ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:41:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:43:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:49:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:52:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:52:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (27.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 10:55:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 11:10: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 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:10:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:11:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:12:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:12:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (16.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:15:34 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Admin"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Admin3"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "Drink"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "marker"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00], ["name", "markable"], ["updated_at", Thu, 16 Feb 2012 11:16:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["name", "User1"], ["updated_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["name", "User"], ["updated_at", Thu, 16 Feb 2012 11:16: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["name", "Admin1"], ["updated_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["name", "Food1"], ["updated_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["name", "Food2"], ["updated_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00], ["name", "Drink1"], ["updated_at", Thu, 16 Feb 2012 11:16:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (57.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.4ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:06:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:06:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:22:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:22:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:22:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:22:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:22:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:22:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:22:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:23:00 UTC +00:00]]  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (12.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (26.9ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (73.5ms) rollback transaction  (0.1ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (8.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (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) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (27.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:24:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:25:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:13 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:36 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:25:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.1ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (93.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (72.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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.2ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (7.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (16.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:27:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (23.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (60.9ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (34.7ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:34:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (17.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (19.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (18.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:37:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:39:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:40:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:41:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:42:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (16.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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) SAVEPOINT active_record_1 SQL (7.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:43:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (14.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (24.0ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:44:35 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (18.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (17.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (23.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 05:46:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (18.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (29.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:57:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 06:58: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 06:58: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 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:58: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 06:58: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:58: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 06:58: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 06:58:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:03:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:12 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:04:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.1ms) SAVEPOINT active_record_1 SQL (62.0ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:15:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (1.2ms) 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 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:17:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:18:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (26.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (15.9ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.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 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (16.0ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (27.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:21:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:25:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (15.8ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:25:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (16.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:28:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:05 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:05 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:05 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (38.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (24.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:29:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:31:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (4.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:44:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:45:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (16.8ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:50:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (15.9ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:51:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (8.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (16.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 07:57:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (11.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (79.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (7.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (15.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:32 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:02: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:02: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:02:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:03:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (9.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:08:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:12:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (17.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (16.8ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:23:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:30:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (7.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (15.9ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:31:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (16.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (16.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:32:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (16.6ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (16.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' Mark Load (0.1ms) SELECT "marks".* FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (19.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (17.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:33:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' Mark Load (0.1ms) SELECT "marks".* FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite'  (0.0ms) SAVEPOINT active_record_1 Could not log "sql.active_record" event. NoMethodError: undefined method `name' for nil:NilClass SQLite3::SQLException: no such column: marks.: DELETE FROM "marks" WHERE "marks"."" = ?  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.3ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' Mark Load (0.1ms) SELECT "marks".* FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite'  (0.0ms) SAVEPOINT active_record_1 Could not log "sql.active_record" event. NoMethodError: undefined method `name' for nil:NilClass SQLite3::SQLException: no such column: marks.: DELETE FROM "marks" WHERE "marks"."" = ?  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:56 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:56 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:56 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:56 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:56 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:34:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (9.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' Mark Load (0.1ms) SELECT "marks".* FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (15.8ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (15.9ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' Mark Load (0.1ms) SELECT "marks".* FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:35: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:35: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.3ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' Mark Load (0.1ms) SELECT "marks".* FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite'  (0.0ms) SAVEPOINT active_record_1 Could not log "sql.active_record" event. NoMethodError: undefined method `name' for nil:NilClass SQLite3::SQLException: no such column: marks.: DELETE FROM "marks" WHERE "marks"."" = ?  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (16.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:35:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (24.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (16.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:36:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:36:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:36:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:36:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:37:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (15.9ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:38:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "users" WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "users"."id" = 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:39:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (22.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3 SQLite3::SQLException: no such column: marks.mark: DELETE FROM "foods" WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "foods"."id" = 3  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.9ms) rollback transaction  (0.1ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:40:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:40:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:42 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:40:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:42 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:40:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:40:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:40:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (25.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (2.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:42:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:43:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (30.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (24.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:45:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (23.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:55:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:09 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (25.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (16.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:56:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 08:57:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:00:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:02:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (15.7ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:08:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (24.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (16.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:11:25 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (24.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) 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.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (24.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms)[0m SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) 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.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:14:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:14:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (24.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:20 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:21 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (24.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:54 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (33.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:15:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (23.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:16:11 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (24.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:32 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 09:19: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:19: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 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:19: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:19: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:19: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 09:19: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 09:19:33 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (34.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (26.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."markable_id" = "users"."id" AND "marks"."markable_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."markable_id" = "users"."id" AND "marks"."markable_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."markable_id" = "users"."id" AND "marks"."markable_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."markable_id" = "users"."id" AND "marks"."markable_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."markable_id" = "users"."id" AND "marks"."markable_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."markable_id" = "users"."id" AND "marks"."markable_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."markable_id" = "users"."id" AND "marks"."markable_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."markable_id" = "users"."id" AND "marks"."markable_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (26.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."markable_id" = "users"."id" AND "marks"."markable_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."markable_id" = "users"."id" AND "marks"."markable_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:15:45 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (19.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (15.8ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:24:47 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25: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 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25: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 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (15.6ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:25: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:25: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25: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 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:18 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (15.0ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:25:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:25:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (16.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:26:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite'  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 2 AND "marks2"."marker_type" = 'Admin' SQLite3::SQLException: no such column: marks2.mark: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 2 AND "marks2"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 2 AND "marks2"."marker_type" = 'Admin' SQLite3::SQLException: no such column: marks2.mark: SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 2 AND "marks2"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 2 AND "marks2"."marker_type" = 'Admin' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 2 AND "marks2"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User' SQLite3::SQLException: no such column: marks2.mark: SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks2"."mark" = 'favorite' AND "marks2"."marker_id" = 1 AND "marks2"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (15.8ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (16.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:27: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 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (28.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (31.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (21.6ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:27:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:28:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:36 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (15.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (19.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:33:37 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (7.4ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:34:23 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:39 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", nil], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (20.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "User"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 17 Feb 2012 10:35:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (58.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.3ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.3ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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.6ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:44:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:56:04 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:45 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:45 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:58:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.1ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 05:59:39 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:04:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.2ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:08:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:10:44 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:13 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:11:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (23.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:14:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (9.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (41.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:15:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:16:42 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (15.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (25.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.9ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:41 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:17:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (9.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:29 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:29 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:29 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:29 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:29 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:18:30 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:23 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:23 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:23 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:23 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:23 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:19:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (15.3ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (15.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:27:10 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (15.9ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:28:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (41.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (15.9ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:27 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:45:28 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", nil], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Admin"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Admin2"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Admin3"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Drink"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "marker"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "markable"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "User1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "User"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Food1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Food2"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 20 Feb 2012 06:47:31 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (258.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.4ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.3ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 (23.5ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Admin3"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Drink"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (12.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (5.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (2.7ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (9.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "User"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (6.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (4.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Admin3"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Drink"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "User"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:22 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.1ms) 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.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Admin3"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Drink"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "User"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:17:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Admin3"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Drink"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "User"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:01 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:05 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Admin3"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Drink"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "User"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:06 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (2.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (9.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (16.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (2.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Admin3"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Drink"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (13.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (5.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "User"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (32.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (15.2ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Admin3"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Drink"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "User"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:18:38 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (35.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", nil], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Admin"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Admin2"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Admin3"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Drink"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "marker"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "markable"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "User1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "User"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Admin1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Food1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Food2"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["name", "Drink1"], ["updated_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 22 Feb 2012 11:33:17 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (60.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.5ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.3ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (15.9ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) 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.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:25:46 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (15.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (133.5ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (263.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (68.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (6.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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (16.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 01:26:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (18.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:55:43 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (45.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (21.9ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:16 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:56:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:00 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (9.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (15.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:57:57 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:20 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (9.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:47 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (20.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (20.0ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:58:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (16.2ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:07 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:08 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:26 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:27 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 02:59:48 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:52 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:00:53 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite'  (2.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:01:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (13.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "User"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:02:51 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (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.1ms) SAVEPOINT active_record_1 SQL (8.7ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) 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.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (17.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:07:58 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:02 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (16.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:09:03 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (16.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:49 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:10:50 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (15.5ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:23 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Admin2"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Admin3"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Drink"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 3 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 3], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Admin Load (0.1ms) SELECT "admins".* FROM "admins" INNER JOIN "marks" ON "marks"."marker_id" = "admins"."id" AND "marks"."marker_type" = 'Admin' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (16.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (16.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:11:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:16:24 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:28 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:25:29 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (8.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 5 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 5], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) 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 "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.5ms) 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.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' Drink Load (0.1ms) SELECT "drinks".* FROM "drinks" INNER JOIN "marks" ON "marks"."markable_id" = "drinks"."id" AND "marks"."markable_type" = 'Drink' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin'  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Admin1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 1 AND "marks"."markable_type" = 'Drink' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'Admin' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 1], ["markable_type", "Drink"], ["marker_id", 2], ["marker_type", "Admin"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "admins" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Admin"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' LIMIT 1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' LIMIT 1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' LIMIT 1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Food1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Food2"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "User1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "Drink1"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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 "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "drinks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "marker"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", "markable"], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' User Load (0.1ms) SELECT "users".* FROM "users" INNER JOIN "marks" ON "marks"."marker_id" = "users"."id" AND "marks"."marker_type" = 'User' WHERE "marks"."mark" = 'favorite' AND "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.1ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'hated' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :hated], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'hated' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.1ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' SQL (0.0ms) DELETE FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "foods" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["name", nil], ["updated_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 1], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 1 AND "marks"."marker_type" = 'User' Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 3 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 3], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Markable::Mark Exists (0.0ms) SELECT 1 FROM "marks" WHERE "marks"."markable_id" = 4 AND "marks"."markable_type" = 'Food' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User' AND "marks"."mark" = 'favorite' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "marks" ("created_at", "mark", "markable_id", "markable_type", "marker_id", "marker_type") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 24 Feb 2012 03:26:55 UTC +00:00], ["mark", :favorite], ["markable_id", 4], ["markable_type", "Food"], ["marker_id", 2], ["marker_type", "User"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Food Load (0.1ms) SELECT "foods".* FROM "foods" INNER JOIN "marks" ON "marks"."markable_id" = "foods"."id" AND "marks"."markable_type" = 'Food' WHERE "marks"."mark" = 'favorite' AND "marks"."marker_id" = 2 AND "marks"."marker_type" = 'User'  (0.5ms) rollback transaction